package com.xiaoyu.izf.repository;

import com.xiaoyu.izf.model.CommissionGetLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface CommissionGetLogDao extends JpaRepository<CommissionGetLog,Integer>, JpaSpecificationExecutor<CommissionGetLog> {

    Page<CommissionGetLog> findByUidAndPayStatus(Pageable pageable, int uid, int status);
    Page<CommissionGetLog> findByUid(Pageable pageable, int uid);

    CommissionGetLog findById(int id);
}
